-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: fix branch creation and mergify file #4391
Conversation
This pull request does not have a backport label. Could you fix it @v1v? 🙏
|
echo ' - "backport"' >> ../.mergify.yml | ||
echo ' branches:' >> ../.mergify.yml | ||
echo ' - "$(PROJECT_MAJOR_VERSION).$(PROJECT_MINOR_VERSION)"' >> ../.mergify.yml | ||
echo ' conditions:' >> ../.mergify.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only a cosmetic change and the fix in L44
echo ' title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"' >> ../.mergify.yml | ||
|
||
## @help:prepare-major-minor-release:Prepare a major/minor release by creating a new branch reference. | ||
.PHONY: prepare-major-minor-release | ||
prepare-major-minor-release: | ||
git checkout 8.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we release from 8.x
now, so it's required to checkout 8.x
so we can create the branch from
@@ -68,6 +69,7 @@ create-branch-major-minor-release: | |||
## @help:prepare-next-release:Prepare the original branch for the next release cycle. | |||
.PHONY: prepare-next-release | |||
prepare-next-release: | |||
git checkout main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need main, mergify uses main only
I fixed it partially, but missed that I need to set the branches correctly after. moving to 8.x